package com.qyhl.module_practice.score.shop;


import com.qyhl.webtv.commonlib.entity.civilized.PracticeShopListBean;

import java.util.List;

public class PracticeScoreShopPresenter implements PracticeScoreShopContract.PracticeScoreShopPresenter {
    private PracticeScoreShopContract.PracticeScoreShopView mView;
    private PracticeScoreShopModel mModel;

    PracticeScoreShopPresenter(PracticeScoreShopContract.PracticeScoreShopView mView) {
        this.mView = mView;
        this.mModel = new PracticeScoreShopModel(this);
    }

    @Override
    public void getList(String page) {
        mModel.getList(page);
    }

    @Override
    public void setList(List<PracticeShopListBean> beanList, boolean isMore) {
        mView.setList(beanList, isMore);
    }

    @Override
    public void setError(String msg, boolean isMore) {
       mView.setError(msg,isMore);
    }
}
